// @import '@arco-design/web-vue/dist/arco.css';
@import '@arco-themes/vue-proxima/css/arco.css';
@import './breakpoint.less';

* {
  box-sizing: border-box;
  font-family: "Microsoft YaHei";
  font-style: normal;
}

:root,
html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  font-size: 14px;
  background-color: #f5f5f5;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  //--color-text-2: rgba(255, 255, 255, 0.65);
  --color-menu-light-bg: #0a2634;
  //--gray-1: 247, 248, 250;
  //--gray-2: 68, 142, 151;
  //--gray-3: 229, 229, 229;
  //--gray-4: 250, 250, 250;
  
  // --primary-6: 255, 255, 255;

  #app {
    width: 100%;
    height: 100%;
  }

  .echarts-tooltip-diy {
    background: linear-gradient(
      304.17deg,
      rgba(253, 254, 255, 0.6) -6.04%,
      rgba(244, 247, 252, 0.6) 85.2%
    );
    border: none;
    backdrop-filter: blur(10px);
    /* Note: backdrop-filter has minimal browser support */
    border-radius: 6px;
    .content-panel {
      display: flex;
      justify-content: space-between;
      padding: 0 9px;
      background: rgba(255, 255, 255, 0.8);
      width: 164px;
      height: 32px;
      line-height: 32px;
      box-shadow: 6px 0px 20px rgba(34, 87, 188, 0.1);
      border-radius: 4px;
      margin-bottom: 4px;
    }
    .tooltip-title {
      margin: 0 0 10px 0;
    }
    p {
      margin: 0;
    }
    .tooltip-title,
    .tooltip-value {
      font-size: 13px;
      line-height: 15px;
      display: flex;
      align-items: center;
      text-align: right;
      color: #1d2129;
      font-weight: bold;
    }
    .tooltip-item-icon {
      display: inline-block;
      margin-right: 8px;
      width: 10px;
      height: 10px;
      border-radius: 50%;
    }
  }

  .general-card {
    border-radius: 4px;
    border: none;
    & > .arco-card-header {
      height: auto;
      padding: 20px;
      border: none;
    }
    & > .arco-card-body {
      padding: 0 20px 20px 20px;
    }
  }

  .split-line {
    border-color: rgb(68, 142, 151);
  }

  .arco-table-cell {
    .circle {
      display: inline-block;
      margin-right: 4px;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background-color: rgb(52, 145, 250);
      &.pass {
        background-color: rgb(0, 180, 42);
      }
    }
  }

  input:-internal-autofill-selected {
    background-color: transparent;
    color: #666;
  }

  .arco-menu-light .arco-menu-item:hover,
  .arco-menu-light .arco-menu-group-title:hover,
  .arco-menu-light .arco-menu-pop-header:hover,
  .arco-menu-light .arco-menu-inline-header:hover {
    color: #fff;
    background-color: rgb(68, 142, 151) !important;
  }

  .arco-menu-light .arco-menu-item:hover .arco-icon,
  .arco-menu-light .arco-menu-group-title:hover .arco-icon,
  .arco-menu-light .arco-menu-pop-header:hover .arco-icon,
  .arco-menu-light .arco-menu-inline-header:hover .arco-icon,
  .arco-menu-light .arco-menu-item:hover .arco-menu-icon,
  .arco-menu-light .arco-menu-group-title:hover .arco-menu-icon,
  .arco-menu-light .arco-menu-pop-header:hover .arco-menu-icon,
  .arco-menu-light .arco-menu-inline-header:hover .arco-menu-icon {
    color: #fff;
  }

  .arco-dropdown-option-active,
  .arco-dropdown-option:not(.arco-dropdown-option-disabled):hover {
    color: #33a9b8;
    background-color: #f0f9fa;
    text-decoration: underline;
  }

  /*.arco-picker-cell-in-view:not(.arco-picker-cell-selected):not(
      .arco-picker-cell-range-start
    ):not(.arco-picker-cell-range-end):not(.arco-picker-cell-disabled):not(
      .arco-picker-cell-week
    )
    .arco-picker-date-value:hover {
    color: #448e97;
    background-color: #ecf3f4;
  }*/

  .arco-dropdown-option {
    justify-content: center;
  }

  .arco-btn-primary,
  .arco-btn-primary[type='button'],
  .arco-btn-primary[type='submit'] {
    color: #fff;
    background-color: #448e97;
    border: 1px solid transparent;
  }

  .arco-btn-primary:hover,
  .arco-btn-primary[type='button']:hover,
  .arco-btn-primary[type='submit']:hover {
    background-color: #33a9b8;
  }

  .arco-btn-text,
  .arco-btn-text[type='button'],
  .arco-btn-text[type='submit'] {
    color: #448e97;
  }

  .arco-menu-light .arco-menu-item.arco-menu-selected,
  .arco-menu-light .arco-menu-group-title.arco-menu-selected,
  .arco-menu-light .arco-menu-pop-header.arco-menu-selected,
  .arco-menu-light .arco-menu-inline-header.arco-menu-selected {
    color: #fff;
    .arco-menu-icon,
    .arco-menu-icon-suffix {
      color: #fff;
    }
  }

  .arco-menu-light .arco-menu-inline-header.arco-menu-selected .arco-icon,
  .arco-menu-light .arco-menu-inline-header.arco-menu-selected .arco-menu-icon {
    color: #fff;
  }

  .arco-form-item-label-col > .arco-form-item-label {
    color: #333;
  }

  // .arco-checkbox-icon {
  //   background-color: transparent;
  //   border: 1px solid #ccc;
  // }

  .arco-input-wrapper {
    background-color: #fff;
    border: 1px solid #d9d9d9;
    color: #333;
  }

  .arco-input-wrapper::placeholder {
    color: #ccc;
  }

  .arco-input-wrapper:hover,
  .arco-picker:hover {
    background-color: #fff;
    border-color: #448e97;
  }

  .arco-input-wrapper.arco-input-disabled {
    background-color: #f5f5f5;
    color: #666;
  }

  .arco-input-wrapper.arco-input-disabled:hover {
    background-color: #f5f5f5;
    color: #666;
  }

  .arco-input-wrapper .arco-input[disabled] {
    color: #666;
    -webkit-text-fill-color: #666;
  }

  .arco-picker {
    background-color: #fff;
    border: 1px solid #d9d9d9;
    color: #666;
    input {
      color: #666;
    }
  }

  .arco-link {
    color: #448e97;
  }

  .arco-picker-cell-today::after {
    background-color: #448e97;
  }

  /*.arco-picker-cell-selected .arco-picker-date-value {
    background-color: #448e97;
  }*/

  .arco-link:hover {
    color: #448e97;
    background-color: #ecf3f4;
  }

  // .arco-checkbox-checked .arco-checkbox-icon {
  //   background-color: #448e97;
  // }

  .arco-input-wrapper .arco-input-suffix,
  .arco-picker-suffix-icon {
    color: #999;
    i {
      font-size: 12px;
    }
  }

  .arco-input-wrapper .arco-input-clear-btn,
  .arco-picker .arco-picker-clear-icon {
    color: #999;
  }

  .arco-select-view-single .arco-select-view-clear-btn {
    color: #999;
  }

  .arco-icon-hover:hover::before {
    background-color: #fff;
    // background-color: transparent;
    .arco-icon {
      color: #448e97;
    }
  }

  .arco-input-wrapper:not(.arco-input-focus)
    .arco-input-icon-hover:hover::before {
    background-color: #fff;
    color: #448e97;
  }

  .arco-btn-secondary,
  .arco-btn-secondary[type='button'],
  .arco-btn-secondary[type='submit'] {
    color: #666;
    background-color: #fff;
    border: 1px solid #d9d9d9;
  }

  .arco-btn-secondary:hover,
  .arco-btn-secondary[type='button']:hover,
  .arco-btn-secondary[type='submit']:hover {
    color: #448e97;
    background-color: #f0f9fa;
    border: 1px solid #f0f9fa;
  }

  .arco-btn-text:hover,
  .arco-btn-text[type='button']:hover,
  .arco-btn-text[type='submit']:hover {
    color: #33a9b8;
    background-color: #f0f9fa;
    border: 1px solid #f0f9fa;
    text-decoration: underline;
  }

  .arco-select-view-single {
    background-color: var(--primary-6);
    background-color: #fff;
    border: 1px solid #d9d9d9;
    color: #333;
  }

  .arco-select-view-single .arco-select-view-suffix {
    color: #333;
  }

  .arco-select-view-single:hover {
    background-color: #fff;
    border: 1px solid #448e97;
    .arco-select-view-icon {
      color: #448e97;
    }
  }

  .arco-select-dropdown .arco-select-option-active,
  .arco-select-dropdown
    .arco-select-option:not(
      .arco-select-dropdown .arco-select-option-disabled
    ):hover {
    color: #448e97;
    background-color: #f0f9fa;
  }

  .arco-table .arco-table-cell {
    //height: 54px;
    line-height: 54px;
    padding: 0 16px;
  }

  .arco-table-th {
    // background-color: #fff;
    background-color: #FAFAFA;
    font-family: 'Microsoft YaHei';
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    color: #333;
  }

  .arco-table-td {
    background-color: #fff;
    border-bottom: 0;
    line-height: normal;
  }

  .arco-table-stripe .arco-table-tr:nth-child(even) .arco-table-td {
    background-color: #FAFAFA;
  }

  .arco-table-sorter-icon.arco-table-sorter-icon-active svg {
    color: #448e97;
  }

  .arco-table-sorter-icon.arco-table-sorter-icon-active svg {
    color: #448e97;
  }

  .arco-pagination {
    margin-top: 16px;
    justify-content: flex-end;
  }

  .arco-pagination .arco-pagination-item-previous.arco-pagination-item-disabled,
  .arco-pagination .arco-pagination-item-next.arco-pagination-item-disabled {
    background: #ffffff;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    color: rgba(0, 0, 0, 0.65);
    width: 28px;
    height: 28px;
    line-height: 28px;
  }

  .arco-pagination-item-previous,
  .arco-pagination-item-next {
    background: #ffffff;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    color: rgba(0, 0, 0, 0.65);
  }

  .arco-pagination-item {
    background: #ffffff;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    color: rgba(0, 0, 0, 0.65);
    width: 28px;
    height: 28px;
    line-height: 28px;
    min-width: 28px;
    font-size: 12px;
    padding: 0;
  }

  .arco-pagination-item-active,
  .arco-pagination-item-active:hover {
    background: #448e97;
    color: #fff;
  }

  .arco-pagination-item:hover {
    color: #448e97;
    background-color: #f0f9fa;
  }

  .arco-switch-checked .arco-switch-text {
    color: #fff;
  }

  .arco-switch {
    background-color: #c9cdd4;
  }

  .arco-switch-checked {
    background-color: #448e97;
  }

  .arco-modal-header {
    height: 56px;
    background-color: #f5f5f5;
    border: 0;
    .arco-modal-title {
      font-family: 'Microsoft YaHei';
      font-style: normal;
      font-weight: 700;
      font-size: 16px;
      color: #333;
    }
    .arco-modal-close-btn {
      font-family: 'Microsoft YaHei';
      font-style: normal;
      font-weight: 700;
      font-size: 12px;
      color: #999;
    }
  }

  .arco-modal-footer {
    text-align: center;
    border: 0;
    .arco-btn {
      width: 90px;
      height: 40px;
      font-family: "Microsoft YaHei";
      font-style: normal;
      font-weight: 400;
      font-size: 16px;
      border-radius: 4px;
    }
  }

  .arco-scrollbar-thumb-bar {
    background-color: #d9d9d9;
  }

  ::-webkit-scrollbar {
    width: 12px;
    height: 4px;
  }

  ::-webkit-scrollbar-thumb {
    border: 4px solid transparent;
    background-clip: padding-box;
    border-radius: 7px;
    background-color: #d9d9d9;
  }

  ::-webkit-scrollbar-thumb:hover {
    background-color: #448e97;
  }

  .arco-menu-light .arco-menu-item.arco-menu-selected .arco-icon {
    color: #fff;
  }

  .arco-scrollbar.arco-scrollbar-type-embed .arco-scrollbar-thumb {
    opacity: 1;
  }

  .arco-table-hover:not(.arco-table-dragging)
    .arco-table-tr:not(.arco-table-tr-empty):not(.arco-table-tr-summary):hover
    .arco-table-td:not(.arco-table-col-fixed-left):not(
      .arco-table-col-fixed-right
    ),
  .arco-table-hover
    .arco-table-tr-drag
    .arco-table-td:not(.arco-table-col-fixed-left):not(
      .arco-table-col-fixed-right
    ) {
    background-color: #ecf3f4;
  }

  .arco-table-hover:not(.arco-table-dragging)
    .arco-table-tr:not(.arco-table-tr-empty):not(.arco-table-tr-summary):hover
    .arco-table-td:not(.arco-table-col-fixed-left):not(
      .arco-table-col-fixed-right
    ),
  .arco-table-hover .arco-table-tr-drag .arco-table-td {
    background-color: #ecf3f4;
  }

  .arco-picker input {
    color: #333;
  }

  .arco-select-view-single:focus-within,
  .arco-select-view-single.arco-select-view-focus {
    background-color: #ffffff;
    border-color: #448e97;
    box-shadow: 0px 0px 4px rgba(68, 142, 151, 0.32);
  }

  .arco-input-wrapper:focus-within,
  .arco-input-wrapper.arco-select-view-focus {
    background-color: #ffffff;
    border-color: #448e97;
    box-shadow: 0px 0px 4px rgba(68, 142, 151, 0.32);
  }

  .arco-modal-body {
    text-align: center;
    .dialog-body {
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }

  // .doctor-container {
  //   box-sizing: border-box;
  //   padding: 76px 20px 20px 20px;
  //   background-color: #e5e5e5;
  // }

  .el-pagination-container {
    .el-pagination {
      padding-right: 0;
    }
    .el-pagination__sizes {
      margin-right: 0;
    }
  }
}

.arco-table-tr {
  background-color: #FAFAFA;
}

.el-loading-mask{
  background-color: rgba(0, 0, 0, .6);
}

.arco-spin-mask {
  background-color: rgba(0, 0, 0, .6);
  .arco-spin-icon {
    color: #d2effc;
  }
  .arco-spin-tip {
    color: #d2effc;
  }
}

input:-internal-autofill-previewed,
input:-internal-autofill-selected {
  -webkit-text-fill-color: #FFF;
  transition: background-color 5000s ease-out 0.5s;
}